///////////////////////////////////////////////////////////////////////////////
//
// Licensed under the MIT License
//
// Copyright (c) 2010 Chris Colinsky
// All Rights Reserved
//
// version	0.5
// http://code.google.com/p/sugarcookie/
// http://code.google.com/p/sugarcookie/wiki/License
//
////////////////////////////////////////////////////////////////////////////////

package sugarcookie.validators {
	/**
	 * Object returned when a validation call is made.
	 */
	public class ValidationResult {
		public var errorMessage:String;
		public var isValid:Boolean;
		
		public function ValidationResult(eMsg:String,e:Boolean=true):void {
			errorMessage = eMsg;
			isValid = e;
		}
	}
}